package com.sx.service;

import java.util.List;

import org.springframework.stereotype.Service;


import com.sx.bean.Role;
import com.sx.util.Pagination;
import com.sx.bean.Node;
import com.sx.bean.PtRRoleOrgan;
import com.sx.bean.PtUser;


public interface RoleService {
	public Pagination<Role> getRoles(int pageNumber,int pageSize);
	
	public List <Node>  getByParentId(String parentId);
	
	public List<Role> selectAll();
	
	public Role selectRoleByUUid(String role_uuid);
	
	public void updateRoleByUUid(String role_uuid,String role_id,String role_name);
	
	public void insertRole(String role_uuid,String role_id,String role_name);
	
	public void deleteRoleByUUid(String role_uuid);
		
	public int insertRoleRes(String role_uuid,String[] res_uuid);
	
	void insert(PtRRoleOrgan ptrroleorgan);

}
